package com.sport.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sport.common.annotation.Excel;
import com.sport.common.core.domain.BaseEntity;

/**
 * 比赛项目对象 sport_item
 *
 * @author wyd
 * @date 2022-04-07
 */
public class SportItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 比赛项目id */
    private String id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String itemName;

    /** 项目分类 */
    @Excel(name = "项目分类")
    private Long itemClassify;

    /** 个人赛或团体赛 */
    @Excel(name = "个人赛或团体赛")
    private String itemType;

    /** 报名人数要求 */
    @Excel(name = "报名人数要求")
    private String itemPeoNum;

    /** 项目比赛地点 */
    @Excel(name = "项目比赛地点")
    private String itemAddress;

    /** 项目比赛性别要求 */
    @Excel(name = "项目比赛性别要求")
    private String itemSex;

    /** 项目比赛时间 */
    @JsonFormat(pattern ="yyyy-MM-dd hh:mm:ss",timezone ="GMT+8")
    @Excel(name = "项目比赛时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date itemDate;

    /** 报名开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date itemStardate;

    /** 报名结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "报名结束时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date itemEnddate;

    /** 项目负责人id */
    @Excel(name = "项目负责人id")
    private String itemJudgementid;

    /** 项目负责人姓名 */
    @Excel(name = "项目负责人姓名")
    private String itemJudgementname;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }
    public void setItemAddress(String itemAddress)
    {
        this.itemAddress = itemAddress;
    }

    public String getItemAddress()
    {
        return itemAddress;
    }
    public void setItemSex(String itemSex)
    {
        this.itemSex = itemSex;
    }

    public String getItemSex()
    {
        return itemSex;
    }
    public void setItemDate(Date itemDate)
    {
        this.itemDate = itemDate;
    }

    public Date getItemDate()
    {
        return itemDate;
    }
    public void setItemStardate(Date itemStardate)
    {
        this.itemStardate = itemStardate;
    }

    public Date getItemStardate()
    {
        return itemStardate;
    }
    public void setItemEnddate(Date itemEnddate)
    {
        this.itemEnddate = itemEnddate;
    }

    public Date getItemEnddate()
    {
        return itemEnddate;
    }
    public void setItemJudgementid(String itemJudgementid)
    {
        this.itemJudgementid = itemJudgementid;
    }

    public String getItemJudgementid()
    {
        return itemJudgementid;
    }
    public void setItemJudgementname(String itemJudgementname)
    {
        this.itemJudgementname = itemJudgementname;
    }

    public String getItemJudgementname()
    {
        return itemJudgementname;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getItemPeoNum() {
        return itemPeoNum;
    }

    public void setItemPeoNum(String itemPeoNum) {
        this.itemPeoNum = itemPeoNum;
    }

    public void setItemClassify(Long itemClassify)
    {
        this.itemClassify = itemClassify;
    }

    public Long getItemClassify() {
        return itemClassify;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("itemName", getItemName())
                .append("itemClassify", getItemClassify())
                .append("itemType", getItemType())
                .append("itemPeoNum", getItemPeoNum())
                .append("itemAddress", getItemAddress())
                .append("itemSex", getItemSex())
                .append("itemDate", getItemDate())
                .append("itemStardate", getItemStardate())
                .append("itemEnddate", getItemEnddate())
                .append("itemJudgementid", getItemJudgementid())
                .append("itemJudgementname", getItemJudgementname())
                .toString();
    }
}
